package com.basic.test.sevice.impl;

import com.basic.test.mapper.MemberInfoDemoMapper;
import com.basic.test.modle.MemberInfoDemo;
import com.basic.test.sevice.MemberInfoDemoSevice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class MemberInfoDemoSeviceImpl implements MemberInfoDemoSevice {


    @Autowired
    MemberInfoDemoMapper memberInfoDemoMapper;

    @Override
    public MemberInfoDemo selMemberInfoById(Long id) {
        return memberInfoDemoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int delMemberInfoById(Long id) {
        return memberInfoDemoMapper.deleteByPrimaryKey(id);
    }
}
